    <div class="mainCon">
        <div class="breadCurmbs">
            <a href="#">
                新增宝贝（子分类）属性
            </a>
        </div>
      <div class="box" id="edit" >
          <form action="<?php echo site_url("admin/cloth/baby_type_add") ?>"  onsubmit="return check();"   method="post"  enctype="multipart/form-data" >
          <font color="red"><?php if($error) echo $error; ?></font>
             <table cellpadding="0" cellspacing="0" border="0" class="table-3">  
           		<tr>
                    <td class="num1">宝贝子分类：</td>
                    <td class="num2">
                        <input type="text" placeholder="请输入宝贝（子分类）名称" name="name" value="<?php echo set_value('name');?>"/>
                        <span class="help-inline"><?php echo form_error('name'); ?></span>
                    </td>
                </tr>
                 <tr>
                     <td class="num1">宝贝分类：</td>
                     <?php $cloth_type = $this->common->get_list(array('sign'=>'cloth_class'));?>
                     <td class="num2">
                         <select name="cloth_class_id">
                             <?php if(!empty($cloth_type)){foreach($cloth_type as $ck => $cv){?>
                             <option value="<?php echo $cv['id'];?>"><?php echo $cv['name'];?></option>
                             <?php }}?>
                         </select>
                         <span class="help-inline"><?php echo form_error('name'); ?></span>
                     </td>
                 </tr>
                <tr>
                  <td class="num1"></td>
                  <td class="num2">
                      <input type="submit" href="<?php echo site_url('admin/cloth/common_add')?>" class="btn btn-danger" value="添加"/>
                  </td>
                </tr>
            </table>
            </form>
        </div>
    </div>
</div>